{if !empty($advaward['order'])}
    <div class="advaward">
        <div class="title" style=" font-size: 0.7rem; color: #888;">
            <span class="text"><i class="icon icon-goods1"></i> 连续{$set['textsign']}有礼</span>
            <span class="subtitle">连续{$set['textsign']}即可领取</span>
        </div>
        <div class="body">
            <div class="award">
                <div class="award-body">
                    {loop $advaward['order'] $item}
                        {if !empty($item['credit']) && !empty($item['day']) && $item['credit']>0}
                            <div class="item">
                                <div class="goods">+{$item['credit']}<br>{$set['textcredit']}</div>
                                <div class="iconn {if !empty($item['candraw'])}candraw{/if}"><i class="icon icon-check"></i> </div>
                                <div class="days {if !empty($item['candraw'])}candraw{/if}">{$item['day']}天</div>
                                {if !empty($item['drawed'])}
                                    <div class="text">已领取</div>
                                {elseif !empty($item['candraw'])}
                                    <div class="text candraw" data-type="1" data-day="{$item['day']}">领取</div>
                                {else}
                                    <div class="text">领取</div>
                                {/if}
                            </div>
                        {/if}
                    {/loop}
                </div>
            </div>
        </div>
    </div>
{/if}

{if !empty($advaward['sum'])}
    <div class="advaward">
        <div class="title" style=" font-size: 0.7rem; color: #888;">
            <span class="text"><i class="icon icon-magic"></i> {$set['textsign']}有礼</span>
            <span class="subtitle">{$set['textsign']}次数满足即可领取</span>
        </div>
        <div class="body">
            <div class="award">
                <div class="award-body">
                    {loop $advaward['sum'] $item}
                        {if !empty($item['credit']) && !empty($item['day']) && $item['credit']>0}
                            <div class="item">
                                <div class="goods">+{$item['credit']}<br>{$set['textcredit']}</div>
                                <div class="iconn {if !empty($item['candraw'])}candraw{/if}"><i class="icon icon-check"></i> </div>
                                <div class="days {if !empty($item['candraw'])}candraw{/if}">{$item['day']}天</div>
                                {if !empty($item['drawed'])}
                                    <div class="text">已领取</div>
                                {elseif !empty($item['candraw'])}
                                    <div class="text candraw" data-type="2" data-day="{$item['day']}">领取</div>
                                {else}
                                    <div class="text">领取</div>
                                {/if}
                            </div>
                        {/if}
                    {/loop}
                </div>
            </div>
        </div>
    </div>
{/if}